package com.by.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class Product {
        int id;
        String code;
        @ApiModelProperty("产品名称")
        String name;
        @ApiModelProperty("产品类型")
        int type;
        String unit;
        String picurl;
        String categoryPath;
        String categoryName;
        String spec;
        String specBarCode;
        String specCode;
        int brandId;
        String brandName;
        int materialId;
        String materialName;
        double weight;
        int size;
        String productNumber;
        String factoryNumber;
        String originalNumber;
        int inventory;
        double price;
        int sorts;
        int min;
        int max;
        String brandDetail;
        String detail;
        // List<String> banner; // 这一行注释掉了
}